def counters(a,b):
    for i in range(1,a+1):
        sum = 0
        for j in b :
            if j == i:
                sum += 1
        print(sum ,end = ' ')


date = [6,  6,  6,  7,  4,  6,  4,  8,  8,  5,  10,  6,  1,  2,
        4,  1,  5,  5,  7,  8,  5,  7,  1,  5,  7,  4,  8,  7,  2,
        9,  1,  7,  4,  7,  4,  8,  2,  7,  5,  10,  2,  4,  5,
        3,  5,  9,  4,  10,  3,  10,  8,  8,  6,  8,  3,  2,  2,
        10,  9,  3,  9,  10,  9,  3,  6,  2,  10,  8,  9,  5,  7,
        1,  9,  2,  3,  3,  10,  6,  3,  3,  6,  10,  10,  2,  8,
        2,  3,  9,  2,  2,  1,  1,  1,  10,  4,  6,  2,  3,  3,
        1,  8,  10,  1,  6,  1,  4,  9,  1,  10,  1,  3,  5,  10,
        3,  6,  7,  5,  9,  6,  7,  1,  6,  7,  1,  5,  10,  7,
        7,  3,  10,  7,  10,  9,  8,  6,  10,  1,  4,  10,  1,  4,
        3,  6,  4,  5,  2,  10,  10,  10,  6,  6,  1,  1,  3,  1,
        6,  2,  8,  2,  5,  7,  9,  5,  5,  6,  10,  4,  7,  3,
        4,  7,  7,  6,  3,  10,  1,  4,  10,  10,  4,  5,  5,  4,
        5,  7,  4,  1,  9,  1,  3,  3,  8,  1,  8,  2,  7,  7,  6,
        3,  10,  9,  10,  6,  5,  2,  6,  5,  5,  5,  4,  8,  9,  8,
        1,  4,  4,  5,  4,  2,  6,  6,  5,  3,  7,  3,  5,  3,  10,
        10,  6,  9,  9,  5,  5,  3,  7,  1,  7,  2,  5,  10,  9,  3,
        7,  10,  7,
        1,  5,  10,  3,  10,  6,  8,  3,  3,  10,  7,  6,  9,  7,
        1,  8]
counters(10,date)